package src.event.events;

import src.event.Event;
import src.model.gameWorld.PlayerMap;

/**
 * <b>Overview</b>
 *
 * <b>Responsibilities</b>
 *
 * <b>Collaborators</b>
 *
 * <b>Implementor</b> - Bruce
 * <b>Tester</b> - Tim
 *
 * @author Bruce
 */
public class MapUpdateEvent extends Event
{
	private PlayerMap map;

	public MapUpdateEvent(PlayerMap map)
	{
		this.map = map;
	}

	public PlayerMap getMap()
	{
		return map;
	}

	/* (non-Javadoc)
	 * @see src.event.Event#toString()
	 */
	@Override
	public String toString()
	{
		return "MapUpdateEvent";
	}
}
